let UtilVar = {
	baseUrl: ``,
	code: 401,
};
const runtimeType = {
	production: () => {
		UtilVar.baseUrl = `http://39.107.111.168:8080/prod-api`;
		// UtilVar.baseUrl = `/prod-api`;
	},
	test: () => {
		UtilVar.baseUrl = `http://localhost:8888`;
	},
	development: () => {
		UtilVar.baseUrl = `http://39.107.111.168:8080/prod-api`;
		// UtilVar.baseUrl = `/prod-api`;
	},
};

//通过打包配置打某个环境的api地址
runtimeType[process.env.VUE_APP_URL_ENV]();
export default UtilVar;
